package com.git.smp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.git.smp.entity.ApplyEnvironment;
import com.git.smp.entity.ApplyEnvironmentKey;

public interface ApplyEnvironmentMapper {
    int deleteByPrimaryKey(ApplyEnvironmentKey key);

    int insert(ApplyEnvironment record);

    int insertSelective(ApplyEnvironment record);

    ApplyEnvironment selectByPrimaryKey(ApplyEnvironmentKey key);

    int updateByPrimaryKeySelective(ApplyEnvironment record);

    int updateByPrimaryKey(ApplyEnvironment record);
    
    int getApplyEnvir(ApplyEnvironment applyEnvironment);
    
    int deleteByApplyId(@Param("sid") String sid);
    
    List<ApplyEnvironment> getApplyEnvironmentList(@Param("applyId") String applyId);
    
    int getConfigStatus(@Param("applyId") String applyId);
}